package com.ash.test.json;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 组织架构交互DTO
 * </p>
 *
 * @author xuzhichao
 * @since 2020/8/24 19:43
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor

public class OrganizationSuitDTO implements Serializable {

    private static final long serialVersionUID = 51080123L;

    /**
     * 添加的机构集合
     */

    private List<FunctionalOrgDTO> add;

    /**
     * 删除的机构集合
     */

    private List<FunctionalOrgDTO> delete;

    /**
     * 编辑的机构集合
     */

    private List<FunctionalOrgDTO> edit;

    /**
     * 机构重排顺序
     * <p>
     * sort:[
     * {"111": [A, B, C, D, E]},
     * {"111111": [A, B, C, D, E]},
     * {"111112": [A, B, C, D, E]},
     * {"111113": [A, B, C, D, E]}
     * ]
     */

    private Map<String, List<String>> sort;

}
